Telegram Group & Telegram Channel
Даны следующие таблицы:

Employees
+-----------+---------+------------+
| EmployeeID| Name | Department |
+-----------+---------+------------+
| 1 | John | HR |
| 2 | Jane | IT |
| 3 | Mark | HR |
| 4 | Sarah | IT |
| 5 | Michael | Finance |
+-----------+---------+------------+

Salaries
+-----------+--------+
| EmployeeID| Salary |
+-----------+--------+
| 1 | 5000 |
| 2 | 6000 |
| 3 | 5500 |
| 4 | 6500 |
| 5 | 7000 |
+-----------+--------+

Какой из следующих SQL запросов отберет имена работников, имеющих зарплату большую или равную 6000?

A) SELECT Name FROM Employees WHERE Salary > 6000

B) SELECT Name FROM Employees JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

C) SELECT Name FROM Employees INNER JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

D) SELECT Name FROM Employees WHERE Salary >= 6000 JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID



tg-me.com/sql_for_qa/116
Create:
Last Update:

Даны следующие таблицы:

Employees

+-----------+---------+------------+
| EmployeeID| Name | Department |
+-----------+---------+------------+
| 1 | John | HR |
| 2 | Jane | IT |
| 3 | Mark | HR |
| 4 | Sarah | IT |
| 5 | Michael | Finance |
+-----------+---------+------------+

Salaries
+-----------+--------+
| EmployeeID| Salary |
+-----------+--------+
| 1 | 5000 |
| 2 | 6000 |
| 3 | 5500 |
| 4 | 6500 |
| 5 | 7000 |
+-----------+--------+

Какой из следующих SQL запросов отберет имена работников, имеющих зарплату большую или равную 6000?

A) SELECT Name FROM Employees WHERE Salary > 6000

B) SELECT Name FROM Employees JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

C) SELECT Name FROM Employees INNER JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

D) SELECT Name FROM Employees WHERE Salary >= 6000 JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID

BY SQL для тестировщика


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/sql_for_qa/116

View MORE
Open in Telegram


SQL для тестировщика Telegram | DID YOU KNOW?

Date: |

However, analysts are positive on the stock now. “We have seen a huge downside movement in the stock due to the central electricity regulatory commission’s (CERC) order that seems to be negative from 2014-15 onwards but we cannot take a linear negative view on the stock and further downside movement on the stock is unlikely. Currently stock is underpriced. Investors can bet on it for a longer horizon," said Vivek Gupta, director research at CapitalVia Global Research.

The global forecast for the Asian markets is murky following recent volatility, with crude oil prices providing support in what has been an otherwise tough month. The European markets were down and the U.S. bourses were mixed and flat and the Asian markets figure to split the difference.The TSE finished modestly lower on Friday following losses from the financial shares and property stocks.For the day, the index sank 15.09 points or 0.49 percent to finish at 3,061.35 after trading between 3,057.84 and 3,089.78. Volume was 1.39 billion shares worth 1.30 billion Singapore dollars. There were 285 decliners and 184 gainers.

SQL для тестировщика from it


Telegram SQL для тестировщика
FROM USA